<meta charset="utf-8">
<div class="addCompany">
		
		<div class="panel panel-default" style="text-align: left;">
			<div class="panel-heading" align="left" style="background: #ffffff">
				<h3 class="panel-title" style="font-weight: 700">充值</h3>
				<div style="position: absolute;float: left;top: 10px;padding-left:450px;width: 18px;height: 18px;cursor: pointer;z-index: 211">
                		<img src="images/delete1.png" data-ng-click="closeWin()" id="changeDeleteImage{{company.id}}" data-ng-mouseover="changeDeleteImage(true)" data-ng-mouseout="changeDeleteImage(false)"/>
                </div>
			</div>
			<div class="panel-body">
				<form name="companyEditForm" data-ng-submit="save()" class="form-horizontal">
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label mylable" style="text-align: left;">当前余额：</label>
               			 <div class="col-sm-8" style="position: relative;top: 6px;text-align: left;" >
               			     {{balance}} 元
                		</div>
            		</div>
            		
            		<div class="form-group clearfix">
                		<label class="col-sm-3 control-label mylable" style="text-align: left;">充值金额：</label>
               			 <div class="col-sm-8" style="text-align: left;">
               			     <input type="text" class="form-control" placeholder="元" style="position: relative;" data-ng-model="rechargeAmount" size="400"/>
                		</div>
            		</div>
				</form>
			</div>
			
			<div class="panel-footer" style="background: #ffffff">
				<div class="confirm_btn3" data-ng-click="recharge()"  style="position: relative;left:321px;">
					<div style="font-size: 12px; color: #00000; text-align: center; position: relative; right: 25px; top: 25%;cursor: pointer;">马上充值</div>
				</div>
			</div>
			
			<div class="panel-body" data-ng-if="result.rechargeList.length > 0" style="position: relative;top: 1px;">
				<div style="position: absolute;">充值记录</div>
				<div style="position:relative;top: 1px;width: 100%"><hr></div>
				<div style="position: relative;top: 1px;overflow:auto;height: 100px;">
					<!-- 数据记录 -->
						<div class="col-sm-12 paddingLeft0" style="padding-left: 1px;" >
				            <table class="table table-bordered table-striped table-hover" style="text-align: center;width: 100%;border: 0" >
				                <tbody>
					                <tr data-ng-if="result.rechargeList.length > 0" data-ng-repeat="recharge in result.rechargeList">
					                    <td style="width:20%; cursor: pointer; text-align:left;">{{recharge.rechargeAmount}}元</td>
					                    <td style="width:80%; cursor: pointer; text-align:right;">({{recharge.rechargeDate | date:'yyyy-MM-dd HH:mm:ss' }})</td>
					                </tr>
				                </tbody>
				            </table>
				        </div>
				</div>
			</div>
			
			<div data-ng-if="result.count == 1" style="position: relative;margin-left: 400px;bottom: 30px;">
				<a href="javascript:void(0)" ng-click="loadMore()" style="color: #eb7248">显示更多>></a>
			</div>

	</div>
</div>
